<div><input type="button" value='留言' onclick="location='/message/add'"  style="float:right"/></div>
<?php
foreach($msg as $m){
?>
<div style="border-bottom:1px dotted gray">
<?php echo $m['id']?>
<a href="/message/<?php echo $m['id']?>"><?php echo $m['title']?></a>
<p> <?php echo $m['content']?> </p>
</div>
<?php } ?>
rrrrrrrr
<?php echo  $pageinfo ?>